<div class="orderInfo" id="comment_gask_<{$comment.comment_id}>" >
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="300px" style="vertical-align:top">
          <div class="tableform"><ul>
            <li>
              <label><{t}>发表人：<{/t}></label>
              <{$comment.author}>
              <{if $object_type=='discuss' || $object_type=='ask'}>
              <li class="amount">
              <label><{t}>针对商品名称：<{/t}></label>
              <a href="<{$url}>" target="_blank"><{$comment.goodname}></a></li>
            <li >
            <{/if}>
              <label><{t}>联系方式：<{/t}></label>
             <a href="mailto:<{$comment.contact|escape:'html'}>" target="_self"><{$comment.contact|escape:'html'}></a></li>
            <li>
              <label><{t}>发表时间：<{/t}></label>
              <{$comment.time|cdate:SDATE_STIME}></li>
            <li>
              <label><{t}>发表人IP：<{/t}></label>
              <{$comment.ip}></li>

              <{foreach from=$tree item=contact name=contact}>

      <li>
         <label><{$contact.attr_name}>：</label>
     <{if $contact.attr_tyname eq 'QQ' && $contact.value !=''}>
     <a target="_self" href="tencent://message/?uin=<{$contact.value}>&&Site=www.shopex.cn&&Menu=yes"><img border="0" SRC='http://wpa.qq.com/pa?p=1:<{$contact.value}>:1' title="<{$contact.value}>"></a>



      <{/if}><{if $contact.attr_tyname eq 'MSN' && $contact.value !=''}>
      <a  target="_self" href="msnim:chat?contact=<{$contact.value}>"><img width="16" height="16" border="0" src="http://www.wlmessenger.net/static/img/presence/Online.gif" title="<{$contact.value}>"/></a>


      <{/if}>
      <{if $contact.attr_tyname eq $___b2c='旺旺'|t:'b2c' && $contact.value !=''}>
     <a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid=<{$contact.value}>&s=1" ><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid=<{$contact.value}>&s=1" title="<{$contact.value}>"/></a>

      <{/if}>

      <{if $contact.attr_tyname eq 'Skype' && $contact.value !=''}>
     <a href="skype:<{$contact.value}>?call"  target="_self"onclick="return skypeCheck();"><img src="http://mystatus.skype.com/smallclassic/<{$contact.value}>" style="border: none;" alt="Call me!"title="<{$contact.value}>" /></a>

      <{/if}>
     </li>
        <{/foreach}>


          </ul></div></td>
        <td class="OtherInfo">
        <div class="tableform">
        <h5><{t}>发表内容：<{/t}><span>[<a href="index.php?app=b2c&ctl=admin_member_gask&act=to_display&p[0]=<{$comment.comment_id}>&p[1]=<{$comment.display}>"><{if $comment.display=='true'}><{t}>关闭显示<{/t}><{else}><{t}>显示到商品页<{/t}><{/if}></a>] [<a href="index.php?app=b2c&ctl=admin_member_gask&act=delete_message&p[0]=<{$comment.comment_id}>" target="{update:'main'}"><{t}>删除<{/t}></a>]</span></h5>
            <div class="division"><{t}>标题：<{/t}>
              <h5><{$comment.title|escape:'html'}></h5>
              <{t}>内容：<{/t}><{$comment.comment|escape:'html'}> </div>
        </div>
        <{if count($reply) > 0}>
        <div class="tableform">
            <{foreach from=$reply item=items}>
            <h5><{$items.author}><{if $items.levelname!=""}> [<{$items.levelname}>]<{/if}><{t}>于<{/t}><b class="assis">[<{$items.time|cdate:SDATE_STIME}>]</b><{t}>回复：<{/t}><span>[<a href="index.php?app=b2c&ctl=admin_member_gask&act=to_reply_display&p[0]=<{$items.comment_id}>&p[1]=<{$items.display}>"><{if $items.display=='true'}><{t}>关闭显示<{/t}><{else}><{t}>显示到商品页<{/t}><{/if}></a>] [<a href="index.php?app=b2c&ctl=admin_member_gask&act=delete_reply&p[0]=<{$items.comment_id}>"><{t}>删除<{/t}></a>]</span></h5>
            <div class="division"> <{if $object_type=='message'}>
     <{t}> 标题:<{/t}> <{$items.title|escape:'html'}><br>
       <{/if}>
            	<{t}>内容：<{/t}><{$items.comment}></div>
            <{/foreach}> </div>
        <{/if}>
        <div class="tableform"><div class="division"><h5><{t}>回复用户：<{/t}></h5>
        <{if $object_type=='message'}>
       <input type="text" class="inputstyle" value="re::<{$comment.title|escape:'html'}>" name="title"/>
       <{/if}>
        <input type="hidden" value="<{$comment.comment_id}>" name="comment_id"/>
        <{input type="textarea" class="inputstyle" name="reply_content" cols=100 rows=7}></div><table border="0" cellpadding="0" cellspacing="0" class="table-action">


        	<tr>
    <td>
    	<{if $object_type=="ask"}>
    <{button label=$___b2c="立即回复"|t:'b2c' onclick="W.page('index.php?app=b2c&ctl=admin_member_gask&act=to_reply&p[0]={$comment.comment_id}&finder_id=<{$env.get._finder.finder_id}>', {data:$('comment_gask_{$comment.comment_id}'),method:'post'}, this)"}></td>

   <{/if}>

</tr>
</table></div>



         </td>
      </tr>
    </table>
</div>
